{% extends "base.html" %}
{% block header %}

 <link rel="stylesheet" type="text/css" href="/static/css/forms.css"/>
{% endblock %}

{% block content %}
 <div id="mon-tit">
    <div class="left">工作流平台 >> 任务添加</div>
</div>
    <div class="clr"></div>
    <hr>
    <h3 class='tit'>{{ task.tname }}</h3>
    <table>
       <form method="post" action="/flow/addtask/" style='float:left'  >
        <div class="module aligned">
            <div  class="form-row">
                <label for="tname" >上线单名称：</label>
                <input type="text" name="tname" maxlength="255" value={{ task.tname }}> 
            </div>

            <div  class="form-row">
                <label for="pid" >对应服务名称：</label>
                <input type="text" name="pid" maxlength="255" value={{ task.pid}} > 
                <span></span>
            </div>

                        <div  class="form-row">
                <label for="auth_uid" >审核人：</label>
                <input type="text" name="auth_uid" maxlength="255" value={{ task.auth_uid}} > 
            </div>


            <div  class="form-row">
                <label for="op_uid" >操作人员：</label>
                <input type="text" name="op_uid" maxlength="255" value={{ task.op_uid}}> 
            </div>

            <div  class="form-row">
                <label for="hid" >对应主机名称：</label>
                <textarea name="hid" class="vLargeTextField" >{{ task.hid}}</textarea> 
            </div>


            <div class="form-row">
                <label for="detail"  >任务描述：</label>
                <textarea  name="detail" class="vLargeTextField">{{ task.detail}}</textarea>
            </div>

         </div>
        <div style='text-align:center'>
            <input type="submit" value="充填" style="margin-right:40px;width:80px">
            <input type="submit" value="提交" style="margin-right:40px;width:80px">
        </div>
        </form>
   </table>
{% endblock %}

